<template>
  <div>
    <el-col :span="24">
      <!--一行-->
      <el-row class="row">
        <div class="center">
          <el-row :gutter="20">

            <el-col :span="24" class="h">
              <el-col :span="22">
                <h3>基本信息</h3>
              </el-col>
<!--              <el-col :span="2">
                <el-button>修改</el-button>
              </el-col>-->
            </el-col>
          </el-row>
          <el-row :gutter="20">
            <el-col :span="24" style="padding-top: 20px">
                <el-col :span="3">
                  <span>Cluster生成依据 以及具体设置 </span>
                </el-col>
                <el-col :span="20">
                  <input type="text" class="search-input" value="手工filter选择保存">
                </el-col>
            </el-col>
            <el-col :span="24" style="padding-top: 20px;padding-bottom: 50px">
              <el-col :span="11">
                <el-col :span="6">
                  <span>生成时间 </span>
                </el-col>
                <el-col :span="15">
                  <input type="text" class="search-input" value="2018.04.05  ">
                </el-col>
              </el-col>
              <el-col :span="11" :offset="2">
                <el-col :span="6">
                  <span>生成人</span>
                </el-col>
                <el-col :span="15">
                  <input type="text" class="search-input" value="彭永兴">
                </el-col>
              </el-col>
            </el-col>
          </el-row>
        </div>
      </el-row>
      <!--二行-->
      <el-row class="row">
        <div class="center">
          <el-row :gutter="20">
            <el-col :span="24" class="h">
              <el-col :span="22">
                <h3>聚类生成路径</h3>
              </el-col>
            </el-col>
          </el-row>
          <el-row :gutter="20">
            <el-col :span="24" style="padding-top: 20px">
              <el-col :span="3">
                <span>xxxxxxxxx</span>
              </el-col>
              <el-col :span="20">
                <input type="text" class="search-input" value="xxxxxxxxxx">
              </el-col>
            </el-col>
            <el-col :span="24" style="padding-top: 20px;padding-bottom: 50px">
              <el-col :span="11">
                <el-col :span="6">
                  <span>xxxxxxxxxx</span>
                </el-col>
                <el-col :span="15">
                  <input type="text" class="search-input" value="xxxxxxxxx">
                </el-col>
              </el-col>
              <el-col :span="11" :offset="2">
                <el-col :span="6">
                  <span>生成人</span>
                </el-col>
                <el-col :span="15">
                  <input type="text" class="search-input" value="彭永兴">
                </el-col>
              </el-col>
            </el-col>
          </el-row>
        </div>
      </el-row>
      <!--三行-->
      <el-row class="row">
        <div class="center">
          <el-row :gutter="20">
            <el-col :span="24" class="h">
              <el-col :span="22">
                <h3>聚类标签分析图例</h3>
              </el-col>
              <el-col :span="2" style="text-align: right">
                <div>
                  <el-dropdown class="user-name" trigger="click">
                    <span class="el-icon-setting" style="color: #fff;font-size: 22px"></span>
                    <el-dropdown-menu slot="dropdown">
                      <button class="btn" style="color: #deb81b">修改</button><br>
                      <button class="btn" style="color: #1f9f91">执行</button><br>
                      <button class="btn" style="color: #e85656">切换</button><br>
                    </el-dropdown-menu>
                  </el-dropdown>
                </div>
              </el-col>
            </el-col>
          </el-row>
          <el-row :gutter="20">
            <el-col :span="24">
              <el-card shadow="hover" :body-style="{ height: '100%'}">
                <div :style="{width: '100%', height: '400px'}">
                  <Sanchi></Sanchi>
                </div>
              </el-card>
            </el-col>
          </el-row>
        </div>
      </el-row>

    </el-col>
  </div>
</template>

<script>
  import Sanchi from './Sanchi'
  export default {
    components: {
      Sanchi
    },
    methods: {

    }
  }
</script>

<style scoped>
  .btn{
    width: 100%;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    background: #fff;
    border: 1px solid transparent;
    /*    outline: none;*/
  }
  .basic {
    background-color: rgba(245, 245, 248, 0.1);
    margin-top: 50px;
  }
  .basic > div {
    color: #fff;
    padding: 15px 20px;
  }
  .row {
    padding-bottom: 30px;
  }
  .center {
    padding: 10px 40px;
    color: #fff;
    border-radius: 10px;
    background-image: url("../../../assets/blur-bg-blurred.jpg");
  }
  .h {
    border-bottom: 2px solid #fff;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
  }
  .el-button {
    background: #1f9f91;
    border: none;
    color: #fff;
    font-size: 15px;
  }
  span {
    display: inline-block;
    height: 25px;
    font-size: 16px;
  }
  .search-input {
    margin-left: -8px;
    padding-left: 8px;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .15);
    height: 25px;
    width: 100%;
  }
  .el-card{
    background-color: rgba(245, 245, 248, 0);
    border: none;
  }
</style>
